<!DOCTYPE html>
<html lang="zh">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/cookie.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>WYJS</title>

    <style>
      html,
      body {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      #init-loading {
        width: 100vw;
        height: 100vh;
        background-color: #303a3f;
      }

      #init-loading-main {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -100px;
        margin-left: -100px;
        width: 200px;
        height: 200px;
        opacity: 0;
        -webkit-animation: loading-in 0.3s linear forwards;
        animation: loading-in 0.3s linear forwards;
      }

      @-webkit-keyframes loading-in {
        100% {
          opacity: 1;
        }
      }

      @keyframes loading-in {
        100% {
          opacity: 1;
        }
      }

      #init-loading-main-center {
        position: relative;
        height: 100%;
      }

      .loading-item {
        position: absolute;
        border-top: 12px solid #fff;
        border-right: 12px solid #95d475;
        border-bottom: 20px solid #79bbff;
        border-left: 1px solid #eebe77;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        border-radius: 50%;
        box-sizing: border-box;
        -webkit-animation: animate 1s linear infinite;
        animation: animate 1s linear infinite;
      }

      #loading_one {
        top: 75px;
        left: 75px;
        width: 50px;
        height: 50px;
      }

      #loading_two {
        top: 65px;
        left: 65px;
        width: 70px;
        height: 70px;
        -webkit-animation-delay: 0.1s;
        animation-delay: 0.1s;
      }

      #loading_three {
        top: 55px;
        left: 55px;
        width: 90px;
        height: 90px;
        -webkit-animation-delay: 0.2s;
        animation-delay: 0.2s;
      }

      #loading_four {
        top: 45px;
        left: 45px;
        width: 110px;
        height: 110px;
        -webkit-animation-delay: 0.3s;
        animation-delay: 0.3s;
      }

      @-webkit-keyframes animate {
        100% {
          -ms-transform: rotate(360deg);
          -webkit-transform: rotate(360deg);
          transform: rotate(360deg);
        }
      }

      @keyframes animate {
        100% {
          -ms-transform: rotate(360deg);
          -webkit-transform: rotate(360deg);
          transform: rotate(360deg);
        }
      }
    </style>
  </head>

  <body>
    <div id="app">
      <div id="init-loading">
        <div id="init-loading-main">
          <div id="init-loading-main-center">
            <div class="loading-item" id="loading_four"></div>
            <div class="loading-item" id="loading_three"></div>
            <div class="loading-item" id="loading_two"></div>
            <div class="loading-item" id="loading_one"></div>
          </div>
        </div>
      </div>
    </div>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
